package io;

import java.io.OutputStream;

public class TestOutputStream {

	/**
	 * 使用OutputStream向屏幕上输出内容
	 * @param args
	 */
	public static void main(String[] args) {
		OutputStream out=System.out;
        try{
            out.write("hello".getBytes());
        }catch (Exception e) {
            e.printStackTrace();
        }
        try{
            out.close();
        }catch (Exception e) {
            e.printStackTrace();
        }
	}

}
